<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2020/3/20
  Time: 16:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <table border="1" align="center" width="50%">
        <tr>
            <td>id</td>
            <td>test1</td>
            <Td>test2</Td>
        </tr>
        <c:forEach items="${tests}" var="test">
            <tr>
                <td>
                        ${test.id}
                </td>
                <td>
                        ${test.test1}
                </td>
                <td>
                        ${test.test2}
                </td>
            </tr>
        </c:forEach>
    </table>
</body>
</html>
